package cn.zhao;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

//由于springboot扫描时会排出接口和抽象类，所以扫描不到mapper上面的注解，所以需要手动扫描
@MapperScan("cn.zhao.dao")
@SpringBootApplication
public class ZhaoApplication {

    public static void main(String[] args) {
        SpringApplication.run(ZhaoApplication.class, args);
    }

}
